%Logarithmic Transformation

clc;
clear all;
close all;

A = imread('office_1.jpg');
imshow(A);
title('Original Image');
L = 255;
C = L/log10(1+L);
D = C*log10(1+double(A));

title('Modified Image');
figure,imshow(uint8(D));